<template>
  <!--子任务-->
  <el-dialog
    title="任务详情"
    :visible.sync="ready"
    @close="closeTaskAdd"
    width="70%">
    <iframe frameborder="0" src="https://unicoder.zippro.cn/youyaboot-admin/magicalcoder/editor/publish.html?pid=c41d1a2156864b1bbb4abdd6c050f896&id=6f70cc883f064a7ea349f6d131cce3a1" height="500px" width="100%"></iframe>
  </el-dialog>
</template>

<script>

export default {
  name: "TaskDetail",
  props: {
    task_id: {
      type: String,
      default:''
    }
  },
  inject:["root"],
  data() {
    return {
      ready: false,
    }
  },
  methods:{
    closeTaskAdd(){
      this.root.setRenderRange()
    }
  }
}
</script>
